package com.wans.easyuibackend.exception.data;

import lombok.Data;

import java.io.Serial;

/**
 * 用于数据处理异常
 */
@SuppressWarnings({"all"})
@Data
public class DataFormatException extends RuntimeException {
    @Serial
    private static final long serialVersionUID = 1L;
    private String status;

    public DataFormatException() {

    }

    public DataFormatException(String status, String message) {
        super(message);
        this.status=status;
    }
}
